#ifndef __DTK_PRIV_H__
#define __DTK_PRIV_H__

#include <directfb.h>
#include "dtk_types.h"
#include "dtk_master_clock.h"
#include "dtk_signal_manage.h"

typedef struct {
    DBoolean                    is_initialized;

    IDirectFB*                  dfb;
    IDirectFBDisplayLayer*      default_layer;
    IDirectFBSurface*           default_primary;
    IDirectFBEventBuffer*       default_eventbuffer;
    DInt                        screen_width;
    DInt                        screen_height;

    DTKMasterClock*             clock;
    DTKSignalManager*           signal_manager;
    
    DTKActor*                   stage;
}DTKContext;

#endif
